
/* Generated by Interface Builder */

#import "MyView.h"
#import <dpsclient/wraps.h>
#import <appkit/Control.h>

@implementation MyView

- mySlider:sender
{
    myFloat = [sender floatValue];
    [self display];
    return self;
}

- drawSelf:(NXRect*)r :(int)c
{
    NXEraseRect(&bounds);
    PSsetgray(NX_BLACK);
    PSsetlinewidth(5.0);
    PSnewpath();
    PSmoveto(bounds.size.width/2.0, 10.0);
    PSlineto(myFloat*1.5, myFloat);
    PSstroke();
    return self;
}


@end
